package com.hi.cdi.versioning.domain;

import java.util.Date;

import com.hi.cdi.versioning.utils.Sequence;


public class Record_History {

	public static Record_History prepareNewHistoryRecord(Record record) {
		Record_History history = new Record_History();
		history.setRecord(record);
		history.setRevisionId(Sequence.next());
		history.setWhen(new Date());
		return history;
	}
}
